package com.mxpio.framework.security.base.entity;

import com.mxpio.framework.jpa.annotation.Generator;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "MB_DB_DATAPROPERTY")
@Schema(description="实体属性")
public class DataProperty extends BaseEntity {

	@Id
	@Generator
	@Schema(description = "ID")
	@Column(name = "ID_")
	private String id;

	@Schema(description = "类型编码")
	@Column(name = "TYPE_CODE_")
	private String typeCode;

	@Schema(description = "名称")
	@Column(name = "NAME_")
	private String name;

}
